require "migration_helpers"
class CreateAlternatives < ActiveRecord::Migration
  extend MigrationHelpers
  def self.up
    create_table :alternatives do |t|
      t.column :title, :string
      t.column :language, :string
      t.column :meta_id, :integer
    end
    foreign_key(:alternatives, :meta_id, :metas)
  end

  def self.down
    drop_table :alternatives
  end
end
